package com.yy.xshell.vo;

import com.jcraft.jsch.ChannelExec;
import com.jcraft.jsch.ChannelShell;
import com.jcraft.jsch.Session;
import com.yy.xshell.auth.UserSessionInfo;
import com.yy.xshell.core.ShellContext;
import lombok.Data;

/**
 * @author wxy
 * @version 1.0
 * @date 2024/8/7 13:37
 */
@Data
public class ShellVO {

    private UserSessionInfo userSessionInfo;

    private Session session;

    private ChannelShell channelShell;

    private ChannelExec channelExec;

    private boolean execClose;

    private String insertStr;

    private String beforStr;

    public ShellVO(Session session, ChannelExec channelExec, ChannelShell channelShell, UserSessionInfo userSessionInfo){
        this.session = session;
        this.channelExec = channelExec;
        this.channelShell = channelShell;
        this.userSessionInfo = userSessionInfo;
    }

}
